/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.zcm.modules.bzy.entity;

import org.hibernate.validator.constraints.Length;

import com.zcm.common.persistence.DataEntity;

/**
 * 股票介绍Entity
 * @author www
 * @version 2018-10-29
 */
public class StockGstc extends DataEntity<StockGstc> {
	
	private static final long serialVersionUID = 1L;
	private String stockCode;		// 公司题材
	private String stockName;		// 股票名称
	private String companyBrief;		// 公司简介
	private String stockSubject;		// 所属板块
	private String mainBusiness;		// 主营业务
	
	public StockGstc() {
		super();
	}

	public StockGstc(String id){
		super(id);
	}

	@Length(min=1, max=255, message="公司题材长度必须介于 1 和 255 之间")
	public String getStockCode() {
		return stockCode;
	}

	public void setStockCode(String stockCode) {
		this.stockCode = stockCode;
	}
	
	@Length(min=1, max=255, message="股票名称长度必须介于 1 和 255 之间")
	public String getStockName() {
		return stockName;
	}

	public void setStockName(String stockName) {
		this.stockName = stockName;
	}
	
	@Length(min=0, max=4000, message="公司简介长度必须介于 0 和 4000 之间")
	public String getCompanyBrief() {
		return companyBrief;
	}

	public void setCompanyBrief(String companyBrief) {
		this.companyBrief = companyBrief;
	}
	
	@Length(min=0, max=1000, message="所属板块长度必须介于 0 和 1000 之间")
	public String getStockSubject() {
		return stockSubject;
	}

	public void setStockSubject(String stockSubject) {
		this.stockSubject = stockSubject;
	}
	
	@Length(min=0, max=4000, message="主营业务长度必须介于 0 和 4000 之间")
	public String getMainBusiness() {
		return mainBusiness;
	}

	public void setMainBusiness(String mainBusiness) {
		this.mainBusiness = mainBusiness;
	}
	
}